<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="html-el" uri="http://struts.apache.org/tags-html-el" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>修改信息</title>
</head>
<body>
	<h1>修改你的个人信息</h1>
	<html-el:errors/>
	<form action="modify.do" method="post" name="studentModifyForm">
		<input type="hidden" name="id" value="${student.id }"/>
		<div>
			<label for="realName">*学生姓名:</label>
			<div><input type="text" name="realName" id="realName" value="${student.realName }"/></div>
		</div>
		<div>
			<label for="telephone">电话:</label>
			<div><input type="text" name="telephone" id="telephone" value="${student.account.telephone }"/></div>
		</div>
		<div>
			<label for="oldEmail">原邮件地址：(如不修改请勿填写)</label>
			<div><input type="text" name="oldEmail" id="oldEmail"/></div>
		</div>
		<div>
			<label for="email">新邮件地址:</label>
			<div><input type="text" name="email" id="email"/></div>
		</div>
		<div>
			<label for="oldPassword">原密码：(如不修改请勿填写)</label>
			<div><input type="password" name="oldPassword" id="oldPassword"/></div>
		</div>
		<div>
			<label for="password">新密码:</label>
			<div><input type="password" name="password" id="password"/></div>
		</div>
		<input type="submit" name="submit" value="修改"/>
	</form>
</body>
</html>